import { Suspense } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import { Spin } from 'antd'
import store from './store/store.js'
import { Provider } from 'react-redux'
createRoot(document.getElementById('root')!).render(
  <Suspense fallback={<Spin fullscreen />}>
    <Provider store={store}>
      <App />
    </Provider>

  </Suspense>,
)
